package com.hengpeng.itfints.webcache;

import com.hengpeng.itfints.config.Configuration;
import com.hengpeng.itfints.config.PageConfigConstants;

public class PageCacheRefreshUtils
{
	/**
	 * <pre>
	 * 刷新首页
	 * </pre>
	 */
	public static void reloadIndex()
	{
		PageCacheUtils.getInstance().remove(Configuration.getValue(PageConfigConstants.PAGE_CACHE_FILTER),
				Configuration.getValue(PageConfigConstants.INDEX_CACHE_PATH));
	}

	/**
	 * <pre>
	 * 刷新咨询首页
	 * </pre>
	 */
	public static void reloadInfoIndex()
	{
		PageCacheUtils.getInstance().remove(Configuration.getValue(PageConfigConstants.PAGE_CACHE_FILTER),
				Configuration.getValue(PageConfigConstants.INFO_CACHE_PATH));
	}
}
